import { SpinCmp as SpinComponent } from '../../components/spinComponent'
import { LoadingOutlined } from '@ant-design/icons'
import IconComponent from '../../components/IconComponent'

const Spin = () => {
  const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />
  const antIcon2 = (
    <IconComponent
      icon={'tuichu'}
      // rotate={0}
      spin={true}
      iconSourceList={['//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js']}
    ></IconComponent>
  )
  return (
    <div>
      <SpinComponent size={'small'} tip={'loading'} delay={500} children={antIcon2} wrapperClassName={'boxlist'} />
    </div>
  )
}
export default Spin
